
all:
	@mkdir -p target
	@mkdir -p protocols
	wayland-scanner client-header /usr/share/wayland-protocols/stable/xdg-shell/xdg-shell.xml src/xdg-shell-client-protocol.h
	wayland-scanner private-code /usr/share/wayland-protocols/stable/xdg-shell/xdg-shell.xml src/xdg-shell-protocol.c
	gcc src/main.c src/xdg-shell-protocol.c -o target/wayland_client -lwayland-client